
<%@ page import="eudjok.SetList" %>


<html>
    
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'setList.label', default: 'SetList')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    
	<body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="set.new.label" args="[entityName]" /></g:link></span>
        </div>
		
        <div class="body">
            
			<h1>${fieldValue(bean: setListInstance, field: "titulo")}</h1>
							<g:form controller="youTube" action="buscarSL" >
                <div class="dialog">
                    <table>
                        <tbody>
							
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="titulo"><g:message code="musica.titulo.label" default="Adicionar músicas" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: params, field: 'key', 'errors')}">
                                    <g:textField name="key" value="${params?.key}" />
									<g:hiddenField name="setListId" value="${setListInstance?.id}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
				
				<div class="buttons">
                    <span class="button"><g:submitButton name="buscar" class="edit" value="${message(code: 'default.button.buscar.label', default: 'Buscar')}" /></span>
                </div>
				</g:form>
            
			<g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
						
        </div>
    </body>
</html>
